package com.freshSystem.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
import util.JWTUtil;

@SpringBootApplication
@EnableDiscoveryClient
public class GatewayApplication {

    @Bean
    public JWTUtil jwtUtil() {
        return new JWTUtil();
    }

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
}
